﻿using NUnit.Framework;

namespace DBUtil.FastData.Test;

[TestFixture]
public class TestBase
{
    protected DBAccess db = null;
    public TestBase()
    {
        //sqlserver 2014
        db = DBFactory.CreateDB("SQLSERVER", "Data Source=.;Initial Catalog=test;User ID=sa;Password=123456;Pooling=True;Max Pool Size=20000;");
        //db = DBFactory.CreateDB("SQLSERVER", "Data Source=192.168.174.128;Initial Catalog=test;User ID=sa;Password=!ajoaiu5&%alsdijfaGHUh;Pooling=True;Max Pool Size=20000;");
        //db = DBFactory.CreateDB("SQLSERVER", "Data Source=172.16.0.16;Initial Catalog=test;User ID=sa;Password=Bc191202;Pooling=True;Max Pool Size=20000;");
        //db = DBFactory.CreateIDB("SQLSERVER", "Data Source=.;Initial Catalog=FileStreamDB;User ID=sa;Password=123456;");
        //db = DBFactory.CreateIDB("SQLSERVER", "Data Source=.;Initial Catalog=testpartition;User ID=sa;Password=123456;");
    }
}
